<?php

/* 样板 order */
class SsModel extends BaseModel {
    var $table  = 'single_system';
    var $prikey = 'ss_id';
    var $_name  = 'ss';
    var $alias  = 'ss';

      var $_relation = array(
            'belongs_order' => array(
                            'model' => 'order',
                            'type' => BELONGS_TO,
                            'foreign_key'   => 'order_id',
							'reverse'       => 'has_ss',
            )
			
		);
    
}
?>